/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

@import '~antd/lib/style/themes/default.less';

.list {
  &-wrapper {
    position: relative;
    flex-grow: 1;
  }
  &-no-data {
    &:global(.ant-list) {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      :global(> .ant-spin-nested-loading) {
        &,
        :global(> .ant-spin-container) {
          height: 100%;
          :global(> div > .ant-spin) {
            max-height: 100%;
          }
          :global(> .ant-list-empty-text) {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            transform: translateY(-50%);
          }
        }
      }
    }
  }
  &-refresh,
  &-loader {
    text-align: center;
  }
  &-refresh {
    color: #999;
  }
  &-divider {
    &:global(.ant-divider-horizontal.ant-divider-with-text) {
      justify-content: center;
      margin: 0;
      color: #999;
      font-weight: normal;
      font-size: 14px;
      &::before,
      &::after {
        width: 10%;
      }
    }
  }
}
